package com.jiahe.yehua;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author 阿良
 * @version 1.0
 * @date 2021/9/3 16:22
 */
@SpringBootApplication
@ComponentScan (basePackages = {"com.jiahe"})
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.jiahe")
public class ServiceHospApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceHospApplication.class, args);
    }
}
